import instance from 'utils/request';

export function userList(params: any) {
  return instance.get('/auth/filter/', { params });
}

export function getPackageInfoListApi(params: any) {
  return instance.get('/auth/pack/', { params });
}
///getRebateFilterApi用户邀请记录
export function getRebateFilterApi(params: any) {
  return instance.get('/rebate/filter/', { params });
}
///getUserInvtee下级邀请用户
export function getUserInvtee(params: any) {
  return instance.get('/rebate/user/invtee/', { params });
}
///getUserInvtee返利订单
export function getUserOrder(params: any) {
  return instance.get('/rebate/user/order/', { params });
}
//用户列表
export function getContactFilter(params: any) {
  return instance.get('/contact/filter/', { params });
}
//用户日志
export function getAuthLog(params: any) {
  return instance.get('/auth/log/', { params });
}

export function editUserInfoApi(body:any) {
  return instance.put('/auth/update/', body);
}